# Contributor: Noel Kuntze <noel.kuntze@thermi.consulting>
# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
pkgname=py3-tlslite-ng
pkgver=0.7.5
pkgrel=0
pkgdesc="Pure python implementation of SSL and TLS"
url="https://github.com/tomato42/tlslite-ng"
arch="noarch"
license="LGPL-2.1-only"
depends="py3-ecdsa"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/tomato42/tlslite-ng/archive/v$pkgver.tar.gz"

builddir="$srcdir/tlslite-ng-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="fef195e1254b7a2a60be279eac22aea748304cade77b29a8204a109c333eadcd062de693418bf72c90ca50fa981ce78406beb3dd41f216f7d3b5206445c5eb14  py3-tlslite-ng-0.7.5.tar.gz"
